<%@ Page Language="C#" MasterPageFile="~/MainLayout.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Instedd.Labs.GeoBlogging.WebApplication._Default" %>

<asp:Content runat="server" ContentPlaceHolderID="Content">
<br />
    <asp:Repeater ID="Repeater1" runat="server">
        <ItemTemplate>
            <div>
                <asp:HyperLink runat="server" ID="PostTitle" Target="_self" NavigateUrl='<%# DataBinder.Eval(Container.DataItem, "Id", "ShowPost.aspx?id={0}") %>' CssClass="postTitle" Text="<%# Bind('Title') %>" /><br />
                <asp:Label runat="server" ID="PostDate" CssClass="postDate" Text="<%# Bind('PubDate') %>" /> <span class="postDate" style="text-decoration:underline; cursor:pointer"></span><br />
                <asp:Label runat="server" ID="PostDescription" CssClass="postDescription" Text="<%# Bind('Description') %>" /><br />
                <span class="postDate">posted by </span><asp:Label runat="server" style="font-weight:bold" ID="Label1" CssClass="postDate" Text="<%# Bind('Creator') %>" /><span class="postDate"> with </span><asp:HyperLink runat="server" ID="HyperLink1" Target="_self" NavigateUrl='<%# DataBinder.Eval(Container.DataItem, "Id", "ShowPost.aspx?id={0}#comments") %>' CssClass="postDate" Text='<%# DataBinder.Eval(Container.DataItem, "CommentsCount", "{0} comments") %>' />
                <br /><br />
            </div>
        </ItemTemplate>
    </asp:Repeater>
    
<br />
<br />
   <span class="link">Looking for the SMS Chat feed? Get the <a href="SmsFeeds/SMSChat.kml">KML feed</a> or the <a href="SmsFeeds/SMSChat.rss">GeoRSS feed</a></span> <br />
</asp:Content>